package model;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class LoaiBenh {
	private long idLoaiBenh;
	private String tenLoaiBenh;
	private ChuyenKhoa chuyenKhoa;
	
	public LoaiBenh(){}

	public LoaiBenh(String tenLoaiBenh, ChuyenKhoa chuyenKhoa) {
		this.tenLoaiBenh = tenLoaiBenh;
		this.chuyenKhoa = chuyenKhoa;
	}

	public long getIdLoaiBenh() {
		return idLoaiBenh;
	}

	public void setIdLoaiBenh(long idLoaiBenh) {
		this.idLoaiBenh = idLoaiBenh;
	}

	public String getTenLoaiBenh() {
		return tenLoaiBenh;
	}

	public void setTenLoaiBenh(String tenLoaiBenh) {
		this.tenLoaiBenh = tenLoaiBenh;
	}

	public ChuyenKhoa getChuyenKhoa() {
		return chuyenKhoa;
	}

	public void setChuyenKhoa(ChuyenKhoa chuyenKhoa) {
		this.chuyenKhoa = chuyenKhoa;
	}
	
}
